﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MengLin.OOP.DesignPattern.Adapter.ServiceCanUsed.Implements
{
    public class RedisHelper
    {
        /// <summary>
        /// 添加
        /// </summary>
        /// <typeparam name="T"></typeparam>
        public void AddRedis<T>()
        {
            Console.WriteLine($"{nameof(RedisHelper)} Add");
        }

        /// <summary>
        /// 更新
        /// </summary>
        /// <typeparam name="T"></typeparam>
        public void UpdateRedis<T>()
        {
            Console.WriteLine($"{nameof(RedisHelper)} Update");
        }

        /// <summary>
        /// 删除
        /// </summary>
        /// <typeparam name="T"></typeparam>
        public void DeleteRedis<T>()
        {
            Console.WriteLine($"{nameof(RedisHelper)} Delete");
        }

        /// <summary>
        /// 查询
        /// </summary>
        /// <typeparam name="T"></typeparam>
        public void QueryRedis<T>()
        {
            Console.WriteLine($"{nameof(RedisHelper)} Query");
        }
    }
}
